package request

import (
	"gitcode.com/G-YT/iHealth25/server/model/common/request"
	"gitcode.com/G-YT/iHealth25/server/model/user"
	"time"
)

type OpenVipSearch struct {
	user.Vip
	StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	request.PageInfo
	UserName string `json:"userName" form:"userName"`
	Phone    string `json:"phone" form:"phone"`
}

type UserList struct {
	request.PageInfo
	InviteUserPhone string     `json:"inviteUserPhone" form:"inviteUserPhone"`
	Phone           string     `json:"phone" form:"phone"`
	Name            string     `json:"name" form:"name" `
	Types           *uint      `json:"types" form:"types"`
	InviteUserID    uint       `json:"inviteUserID" form:"inviteUserID"`
	StewardID       uint       `json:"stewardID" form:"stewardID"`
	Users           string     `json:"users" form:"users"`
	ServiceCenterID uint       `json:"service_center_id" form:"service_center_id"`
	Province        uint       `json:"province" form:"province"`
	City            uint       `json:"city" form:"city"`
	Area            uint       `json:"area" form:"area"`
	StartCreatedAt  *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt    *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
}
